home *** CD-ROM | disk | FTP | other *** search
/ How To Lose A Guy In 10 Days Press Kit / How to Lose a Guy in 10 Days Press Kit.iso / pc / Program.dxr / Internal_2_Variables Initialization.ls < prev    next >
Encoding:
Text File  |  2003-01-17  |  1.2 KB  |  41 lines

  1. global oneFileCopy, gSavePath, gSysOS, gHardDrive, gSysPath, gSourceDrive, gSystemOS, gLF, gfd, gDefaultSourcePath, gImages, gMegs, gmacSavePath, gWinSavePath, gDefaultSavePath
  2.  
  3. on enterFrame
  4.   gImages = 0
  5.   gMegs = 0
  6.   gSourceDrive = the moviePath
  7.   oneFileCopy = new(xtra("ProgressCopy"), 1, 0, 0)
  8.   gSystemOS = baVersion("os")
  9.   if char 1 to 9 of the platform = "Macintosh" then
  10.     gfd = ":"
  11.     gLF = RETURN
  12.   else
  13.     gfd = "\"
  14.     gLF = RETURN & numToChar(10)
  15.   end if
  16.   gSysPath = getOSDirectory()
  17.   if gfd = ":" then
  18.     the itemDelimiter = ":"
  19.   else
  20.     the itemDelimiter = "\"
  21.   end if
  22.   gHardDrive = item 1 of gSysPath
  23.   the itemDelimiter = ","
  24.   save = the itemDelimiter
  25.   if gfd = ":" then
  26.     gmacSavePath = baSysFolder("desktop")
  27.     gDefaultSavePath = gmacSavePath & "How To Lose A Guy Images"
  28.     gDefaultSourcePath = gSourceDrive & "Images"
  29.   else
  30.     if gSystemOS = "Win95" then
  31.       gWinSavePath = gHardDrive & "\Windows\Desktop\"
  32.       gDefaultSavePath = gWinSavePath & "How To Lose A Guy Images"
  33.       gDefaultSourcePath = gSourceDrive & "Images"
  34.     else
  35.       gWinSavePath = baSysFolder("common desktop")
  36.       gDefaultSavePath = gWinSavePath & "How To Lose A Guy Images"
  37.       gDefaultSourcePath = gSourceDrive & "Images"
  38.     end if
  39.   end if
  40. end
  41.